package com.yao.shop.service;

import com.yao.shop.common.Page;
import com.yao.shop.pojo.ShopProductCategory;
import com.yao.shop.pojo.SysHelp;
import com.yao.shop.pojo.vo.CategoryBrandVo;
import com.yao.shop.pojo.vo.ShopProductCategoryVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ShopProductCategoryService {

    void save(ShopProductCategory shopProductCategory);

    void update(ShopProductCategory shopProductCategory);

    ShopProductCategory get(Long id);

    void delete(Long id);

    Page<ShopProductCategory> getByPage(Page<ShopProductCategory> page);

    List<ShopProductCategoryVo> getSelectTree();

    List<ShopProductCategoryVo> getTree();

    List<ShopProductCategory> getAllSecond();

    List<ShopProductCategory> getNavList();

    CategoryBrandVo getCategoryAndBrandById(Long categoryId);
}


